﻿<%@ Page Title="" Language="C#" MasterPageFile="~/WebAdmin/pheader.Master" AutoEventWireup="true"
    CodeBehind="cat.aspx.cs" Inherits="ZWZ.Web.WebAdmin.Cat" %>

<%@ Register Src="UCtrs/CtrList.ascx" TagName="CtrList" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript">
        function UpdateCat(id) {
            window.location.href = "Update/UpdateCat.aspx?id=" + id;
        }
        function AddCat(pid) {
            window.location.href = "Update/UpdateCat.aspx?pid=" + pid;
        }
    </script>
    <style type="text/css">
        .list_datacontainer img{}
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ToolsTitle" runat="server">
    <div class="tools-title" style="background-position: 15px -76px;">
        栏目管理
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="TootsButtom" runat="server">
    <div class="tools-btn tools-btn-add" onclick="AddCat('');">
        新建
    </div>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="clear20">
    </div>
    <div style="width: 98%; margin-left: auto; margin-right: auto;">
        <uc1:CtrList ID="CtrList1" ColumnKeyFieldName="ID" ClientScript_EditMenthord="UpdateCat"
            ShowDeleteButton="true" ShowEditButton="true" Height="480" ShowPagerAlways="false"
            runat="server" />
    </div>
</asp:Content>
